home *** CD-ROM | disk | FTP | other *** search
/ Postcard CD: Toronto / Postcard CD: Toronto (2004).iso / mac / SS2.dxr / Internal_24.ls < prev    next >
Encoding:
Text File  |  2002-01-11  |  822 b   |  29 lines

  1. global language
  2.  
  3. on exitFrame me
  4.   sprite(17).visible = 0
  5.   sprite(18).visible = 0
  6.   if language = 1 then
  7.     set the castLibNum of sprite 20 to castLib("english").number
  8.   else
  9.     if language = 2 then
  10.       set the castLibNum of sprite 20 to castLib("french").number
  11.     else
  12.       if language = 3 then
  13.         set the castLibNum of sprite 20 to castLib("german").number
  14.       else
  15.         if language = 4 then
  16.           set the castLibNum of sprite 20 to castLib("japanese").number
  17.           set the width of sprite 20 to the width of sprite 20 * 1
  18.           set the height of sprite 20 to the height of sprite 20 * 1
  19.         else
  20.           if language = 5 then
  21.             set the castLibNum of sprite 20 to castLib("spanish").number
  22.           end if
  23.         end if
  24.       end if
  25.     end if
  26.   end if
  27.   startTimer()
  28. end
  29.